package com.shelpe.services.algorithm.utils;

import com.shelpe.services.algorithm.entity.jpa.AutoProductQueue;

public class AutoDriverUtils {

	public static int covert2mode(AutoProductQueue.DriveType driverType){
		int mode = 0;
		if(driverType == AutoProductQueue.DriveType.wide){
			mode = 2;
		}else if(driverType == AutoProductQueue.DriveType.click){
			mode = 1;
		}else if(driverType == AutoProductQueue.DriveType.ppc){
			mode = 2;
		}
		return mode;
	}
}
